using System;
using BusinessPlatform.Core;
using BusinessPlatform.Core.BusinessObject;

namespace BusinessPlatform.Test.SalesOrder
{
    /// <summary>
    /// 销售订单
    /// </summary>
    public interface ISalesOrder : IBusinessObjectBase
    {
        
        /// <summary>
        /// 单据编号
        /// </summary>
        System.Int32  DocumentEntry { get; set; }
        
        /// <summary>
        /// 单据编码
        /// </summary>
        System.String  DocumentNumber { get; set; }
        
        /// <summary>
        /// 对象
        /// </summary>
        System.String  ObjectType { get; set; }
        
        /// <summary>
        /// 已取消
        /// </summary>
        BusinessPlatform.Data.Enumerator.BOYesOrNo  Canceled { get; set; }
        
        /// <summary>
        /// 已关闭
        /// </summary>
        BusinessPlatform.Data.Enumerator.BOYesOrNo  Closed { get; set; }
        
        /// <summary>
        /// 创建人
        /// </summary>
        System.Int32  Creator { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        System.DateTime  CreateDate { get; set; }
        
        /// <summary>
        /// 更新人
        /// </summary>
        System.Int32  Updator { get; set; }
        
        /// <summary>
        /// 更新时间
        /// </summary>
        System.DateTime  UpdateDate { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        System.String  Remarks { get; set; }
        
        /// <summary>
        /// 单据状态
        /// </summary>
        BusinessPlatform.Data.Enumerator.BODocStatus  DocumentStatus { get; set; }
        
        /// <summary>
        /// 客户编码
        /// </summary>
        System.String  CardCode { get; set; }
        
        /// <summary>
        /// 客户名称
        /// </summary>
        System.String  CardName { get; set; }
        
        /// <summary>
        /// 单据日期
        /// </summary>
        System.DateTime  DocDate { get; set; }
        
        /// <summary>
        /// 单据总计
        /// </summary>
        System.Decimal  DocTotal { get; set; }
        
        /// <summary>
        /// 部分交货
        /// </summary>
        BusinessPlatform.Data.Enumerator.BOYesOrNo  IsPartDelivery { get; set; }
        
		
        /// <summary>
        /// 销售订单行集合
        /// </summary>
        ISalesOrderLines SalesOrderLines { get; }
		
    }
}